# Python 2.6.4
# Project Euler, Problem 25
# Copyright 2010 Talha Zaman

f1, f2, i = 1, 1, 2
while len(str(f2))<1000: f1, f2, i = f2, f1+f2, i+1
print "Term", i
